<link rel="stylesheet" type="text/css" href="__MOBILE__/default/js/mobile/jquery/ui-lightness/mobile-jquery-ui.css" class="ng-scope">
<link rel="stylesheet" href="__MOBILE__/default/css/mobile/mobile-game.css" class="ng-scope">
<script type="text/javascript" src="__MOBILE__/js/jquery-ui.js" class="ng-scope"></script>
<script type="text/javascript" src="__MOBILE__/default/js/mobile/jquery.ui.datepicker-zh-CN.js" class="ng-scope"></script>
<script type="text/javascript" class="ng-scope">
$(".navbar-absolute-top .dropdowncentermenu").css("display", "none");
$(".navbar-absolute-top .dropdowncentermenu2").css("display", "none");
$("#maintitle").html ("开奖结果"); 
$(".navbar-absolute-bottom").css ("display" , "none");
$(".infopanel").css ("display" , "none");
$(".navbar-brand-center").css ("margin-left" , "0px");
checkmargin();
var betBtn = $("#bet-btn");
if($('#lottery').val() == "JNDKL8"){
	betBtn.hide();
}else{
	betBtn.show();
}
function change(){
    $("#placeBetBtn").hide();
    t = "";
    if (hasBack) { t = "single/" }
    if($('#lottery').val() == "JNDKL8"){
    	var table = $('#table').val()==null? 1 : $('#table').val();
   		 location.href = '#/dresult/' + t + $('#lottery').val()+'/'+$('#date').val()+'/'+table;
    }else{
    	location.href = '#/dresult/' + t + $('#lottery').val()+'/'+$('#date').val();
    }
    
}
function placeBetBtn(){
    location.href = '#/load/JNDKL8/KL8';
}
$(function(){$('#date').change(change).datepicker();})
$(function() {
    $(document).on('click', '.overlaydatepicker', function(e) {
        $('#date').datepicker('show');
        $('#ui-datepicker-div').css("position" , "absolute");       
        $('#ui-datepicker-div').css("left", (($(window).width() - $("#ui-datepicker-div").width()) / 2)  + "px");
    });
 });
</script>
<style class="ng-scope">.has-navbar-top .app-body { padding-top: 72px; } .navbar-app {height:30px;}</style>
<!--
 -->
<div class="scrollable backgroundcolorlightpink ng-scope">
<div class="scrollable-content overthrow">

<div class="container-fluid cnsmall"> <!--container-->

     <div class="row darkredbg minheight lottery_holder" style="padding-left:10px">
    	<div class="padding10 clearfix">
    		<select id="lottery" onchange="change()" class="dropdowncentermenu3 marginright5 inlineblock needsclick">
		    			
		    			<foreach name="lottery" item="vo" k="key">
						<option value="{$key}" <if condition="$c_id eq $key">selected="selected"</if> >{$vo.text}</option>
						</foreach>
             </select>
             <input class="dropdowncentermenu2  needsclick" id="date" readonly="readonly" value="<?php echo $date?>" style="display:inline-block">
            
        </div>
	</div>   
</div><!--container-->
  <div class="scrollable-content reportcontainer text-center overthrow">
        <table width="900" cellpadding="10" class="reporttbl cn">
          <thead class="cnbig">
            <tr>
              <th width="104">期数</th>
              <th width="840">开出号码</th>
              <th colspan="4">总和</th>
              <th colspan="4">比数量</th>
            </tr>
          </thead>
		  <tbody>
				<foreach name="list" item="vo">
				<tr>
              <td><span class="green cnbig">{$vo.c_no}</span><br><span class="cn">{$vo.time}</span></td>
              <td>
              <div class="T_KL8">
                <foreach name="vo.number" item="v">
								
								 <div class="resultitem b{$v}">{$v}</div>
								</foreach>
              </div>
              </td>

              <td class="other1">{$vo.sum}</td>

			{$vo.td}
            </tr>


</foreach>
</tbody>
        </table>
    </div>

    </div>
</div>
<script class="ng-scope">
$('#ui-datepicker-div').remove();
$('#date').datepicker();
if (hasBack) {
    $("#menuBtn").hide()
    $("#backBtn").show()
    $("#placeBetBtn").hide();
    $("#maintitle").html($("#lottery option:selected").text());
    $("#lottery").hide();
    if (!$("#date")[0]) { $(".lottery_holder").hide() }
}
</script>



